package myvolatile1;

/**
 * Created by L.jp
 * Description:
 * User: 86189
 * Date: 2022-08-08
 * Time: 9:16
 */
public class Demo {
    public static void main(String[] args) {
        MyThread1 t1 = new MyThread1();
        t1.setName("小刘同学");
        t1.start();
        MyThread2 t2 = new MyThread2();
        t2.setName("小邓同学");
        t2.start();
    }
}
